<template>
  <MpMenu :buttons="menus" style="width: 1000px" @submit="onsubmit"/>
</template>

<script setup lang="ts">
import {MpMenu} from "mp-menu"
import "mp-menu/dist/style.css"
import {ref} from "vue";

const menus = ref([]);
const onsubmit = (menus) => {
  console.log(menus)
}
</script>